<?php
 class FLEA_Exception_ExpectedClass extends FLEA_Exception { var $className; var $classFile; var $fileExists; function FLEA_Exception_ExpectedClass($className, $file = null, $fileExists = false) { $this->className = $className; $this->classFile = $file; $this->fileExists = $fileExists; if ($file) { $code = 0x0102002; $msg = sprintf(_ET($code), $file, $className); } else { $code = 0x0102003; $msg = sprintf(_ET($code), $className); } parent::FLEA_Exception($msg, $code); } } 